package com.spsy.pay.service;

import com.spsy.common.core.domain.R;

/**
 * 支付业务逻辑
 * @author: liuzhiping
 * @date: 2025/1/9 15:02
 **/
public interface PayOptsService {

    /***
     * 支付实现
     * @param orderId 订单id
     * @return {@link R}
     */
     R pay(String orderId);

    /***
     * 查询订单状态
     * @param orderId
     * @return {@link R}
     */
     R view(String orderId) throws Exception;

}
